package cn.siriusbot.siriuspro.bot.plugin.factory;

import lombok.Data;
import lombok.experimental.Accessors;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;

@Data
@Accessors(chain = true)
public class SiriusMethod<T extends Annotation> {
    /**
     * 注解信息
     */
    private T annotation;

    /**
     * 来源对象
     */
    private Object source;

    /**
     * 方法对象
     */
    private Method method;
}
